You are not authenticated, login.
text: sort by
tags: modified
type: chronology
hide / / print
ref: -0 tags: loops feedback arcs video game programming date: 04-30-2012 15:12 gmt revision:0 [head]

I highly agree with this philosophy / this deconstruction of the flow of information in human structures: http://www.lostgarden.com/2012/04/loops-and-arcs.html

On criticism as a meta-arc game:

"In the past I've discussed criticism as a game that attempts to revisit an arc repeatedly and embellish it with additional meaning. The game is to generate essays superficially based on some piece of existing art. In turn, other players generate additional essays based off the first essays. This acts as both a referee mechanism and judge. Score is accumulated via reference counts and by rising through an organization hierarchy. It is a deliciously political game of wit that is both impenetrable to outsiders and nearly independent of the actual source arcs. Here creating an arc becomes a move in the larger game. "

hide / / print
ref: Rosin-2011.1 tags: PD closed loop DBS globus pallidus oscillations STN Vaadia heterodyne beta date: 03-26-2012 16:23 gmt revision:16 [15] [14] [13] [12] [11] [10] [head]

PMID-22017994[0] Closed-loop deep brain stimulation is superior in ameliorating parkinsonism.

  • Also reviewed by Rui Costa: PMID-22017983[1]
    • Good, brief review -- with appropriate minimal references.
  • Partial goal of the work: parameter determination and optimization can take a long time, and are typically only done every 3-6 months initially. But the actually changes of activity / responsiveness occur on a faster timescale in the disease, even instantaneous; other studies have shown that updating the stimulation parameters more frequently helps patients. (of course, this is a different form of closed-loop).
  • Pathology: intermittent neuronal oscillations in the basal ganglia and motor cortex commonly observed.
    • In MPTP treated primates these oscillations occur in the tremor band (theta, 4-7Hz), and double-tremor band (9-15Hz, alpha) (Bergman et al 1994 {120}, Ras et al 2000 PMID-11069964 ).
    • Actual pathology still inconclusive; talk about disruption of pathological patterns and 'focal inhibition', but this is no thorough review by any estimate.
  • "In recent years, the role of pathological discharge patterns in the parkinsonian brain has emerged as pivotal in the disease pathology
    • Eusebio and Brown, 2007;
    • Hammond et al., 2007;
    • Kuhn et al., 2009;
    • Tass et al., 2010;
    • Vitek, 2008;
    • Weinberger et al., 2009;
    • Wichmann and DeLong, 2006;
    • Zaidel et al., 2009.
    • Automatic systems should disrupt this pattern of discharge (Feng 2006, Tass 2003).
      • However, the role of these oscillations as the neuronal correlate of PD motor symptoms is still debated (Hammond et al., 2007; Leblois et al., 2007; Lozano and Eltahawy, 2004; McIntyre et al., 2004; Tass et al., 2010; Vitek, 2002; Weinberger et al., 2009 {1089}).
  • 2 african green monkeys, MPTP treatment.
  • Recorded from GPi & M1 (127 and 210 neurons); stimulated GPi, 7 pulses at 130Hz, 80ms after spike from reference area (M1 or GPi).
    • 80ms delay coincided with the next double-tremor oscillatory burst (12.5Hz)
    • State of neuronal oscillatory discharge of cortico-BG loops often accompanied by synchronization btw cortex and BG (see also quote below)
    • GPi following M1 activity superior (GP|M1 in their notation).
    • single pulses did not work.
    • Stimulation: 80uA 200us bipolar biphasic (small and short!).
  • Stimiulus protocol (M1 trigger) abolishes oscillatory activity in recorded GPi neurons.
  • Also reduced akinesia as measured with an accelerometer & decreased firing rate in the GPi.
    • Both work better than constant 130Hz DBS.
    • Also much more irregular: fewer stimulation pulses at longer latency.
  • Open loop control (the control) did much less regarding FR oscillations & bursts and reduction in firing rate.
    • Dorval et al 2010: increasing the stimulus irregularity of open-loop DBS decreases its beneficial clinical effectcs. (also Baker et. al 2011).
  • GP train stimulation triggered on GP firing significantly worsened akinesia, despite the fact that the pallidial FR decreased.
    • Treatment increased spike oscillation at double-tremor frequency in M1.
  • Oscillations more important than firing rate changes (new vs. old hypothesis).
    • pallidal oscillatory activity was not correlated to the pallidal discharge rate either before or during the application of standard DBS or GP|M1.
  • In our data, may have double-frequency tremor effects. Heterodyne should detect this.
    • "Studies on the dynamics of the entire cortico-basal ganglia loops have frequently reported the emergence of intra-and interloop component synchrony and oscillatory activity."
    • "Nevertheless, the somewhat intuitive connection between neuronal oscillations and parkinsonian motor symptoms, which include rest and action tremors, has been challenged (Hammond et al., 2007 PMID-17532060 ; Leblois et al., 2007 {1146}; Lozano and Eltahawy, 2004; Tass et al., 2010 {1147}; Vitek, 2002; Weinberger et al., 2009). For instance, while the parkinsonian rest tremor occurs mainly at the 4–7 Hz frequency band, the oscillatory neuronal activity is observed in several characteristic frequency bands in both human PD patients (Hutchison et al., 2004) {1156} and animal models (Bergman et al 1994, Gubellini et al 2009) {1074}"
      • This also has import to our heterodyne results!
    • Synchrony between globus pallidus and M1 is dynamic and state-dependent (whatever that means -- have to check the refs, Levy et al 2002 {829}, Timmerman et al 2003 {1087})
  • Quote: "... it suggests that reduction of the abnormal parkinsonian oscillatory activity could in fact be the underlying mechanism by which DBS exerts its action and brings about the associated clinical improvement."
  • Neuronal oscillatory activity occurs as high as the beta-band, 15-35Hz, hence clinical app. would need a tuned antiphase lag.
  • Suggest that the closed-loop treatment may be applicable to other diseases with characteristic firing patterns, like schizophrenia.
  • Since synchonization and oscillations hend to coincide, .. we found this too.
    • Heimer et al 2006 {1076}: oscillations and synchrony can exist independently.
  • Figure suck. Text inconsistent and frequently too small.
    • Wavelet spectrograms are nice tho.

Other thoughts:

  • Somebody should measure the transfer function of the BG / cortical loop. H(z).
  • This seems like adding a comb-filter or zero at a particular frequency: GP|GP stimluation exacerbated the effect, GP|M1 minimized the effect as there is a negation in there. (e.g. GP actviity decreases firing of M1, and vice versa).


[0] Rosin B, Slovik M, Mitelman R, Rivlin-Etzion M, Haber SN, Israel Z, Vaadia E, Bergman H, Closed-loop deep brain stimulation is superior in ameliorating parkinsonism.Neuron 72:2, 370-84 (2011 Oct 20)
[1] Santos FJ, Costa RM, Tecuapetla F, Stimulation on demand: closing the loop on deep brain stimulation.Neuron 72:2, 197-8 (2011 Oct 20)

hide / / print
ref: Olson-2005 tags: Arizona rats BMI motor control training SVM single-unit left right closed-loop learning Olson Arizona date: 01-03-2012 23:06 gmt revision:1 [0] [head]

bibtex:Olson-2005 Evidence of a mechanism of neural adaptation in the closed loop control of directions

  • from abstract:
    • Trained rats to press left/right paddles to center a LED. e.g. paddles were arrow keys, LED was the cursor, which had to be centered. Smart rats.
      • Experiment & data from Olson 2005
    • Then trained a SVM to discriminate left/right from 2-10 motor units.
    • Once closed-loop BMI was established, monitored changes in the firing properties of the recorded neurons, specifically wrt the continually(?) re-adapted decoding SVM.
    • "but expect that the patients who use the devices will adapt to the devices using single neuron modulation changes. " --v. interesting!
  • First page of article has an excellent review back to Fetz and Schmidt. e.g. {303}
  • Excellent review of history altogether.
    • Notable is their interpretation of Sanchez 2004 {259}, who showed that most of the significant modulations are from a small group of neurons, not the large (up to 320 electrodes) populations that were actually recorded. Carmena 2003 showed that the population as a whole tended to group tuning, although this was imperfectly controlled.
  • Also reviewed: Zacksenhouse 2007 {901}
  • SVM is particularly interesting as a decoding algorithm as it weights the input vectors in projecting onto a decision boundary; these weights are experimentally informative.
  • Figure 7: The brain seems to modulate individual firing rate changes to move away from the decision boundary, or at least to minimize overlap.
  • For non-overt movements, the distance from decision function was greater than for overt movements.
  • Rho ( ρ\rho ) is the Mann-Whitney test statistic, which non-parametrically estimates the difference between two distributions.
  • δf(X t)\delta f(X_t) is the gradient wrt the p input dimensions o9f the NAV, as defined with their gaussian kernel SVM.
  • They show (i guess) that changes in ρ\rho are correlated with the gradient -- e.g. the brain focuses on neurons that increase fidelity of control?
    • But how does the brain figure this out??
  • Not sure if i fully understand their argument / support.
  • Conclusion comes early in the paper
    • figure 5 weakly supports the single-neuron modulation result.

hide / / print
ref: -0 tags: automatic programming synthesis loops examples date: 10-03-2011 22:28 gmt revision:1 [0] [head]

Open letter proposing some ideas on how to automate programming: simulate a human! Rather from a neuro background, and rather sketchy (as in vague, not as in the present slang usage).


hide / / print
ref: notes-0 tags: Blackfin perl loopcounters registers ABI application-binary interface gcc assembly date: 10-19-2007 17:24 gmt revision:2 [1] [0] [head]

The problem: I have an interrupt status routine (ISR) which can interrupt the main, radio-servicing routine at any time. To keep the ISR from corrupting the register values of the main routine while it works, these registers must be pushed, and later popped, to the stack. Now, doing this takes time, so I'd prefer to pop / push as few registers as possible. Namely, I don't want to push/pop the hardware loop registers - LC0 (loop counter 0), LB0 (loop bottom 0, where the hardware loop starts) & LT0 (loop top 0, where the hardware loop ends).

Gcc seems to only touch bank 1, never bank 0, so I don't have to save the 3 regs above. However, to make sure, I've written a perl file to examine the assembled code:

my $file = "decompile.asm"; 
open(FH, $file); 
@j = <FH>; 
my $i=0; 
my @badregs = ("LC0", "LB0", "LT0"); 
foreach $reg (@badregs){
	foreach $k (@j){
		if($k =~ /$reg/){
			print "touch register $reg : $k";
#tell make if we found problems or not.
	exit 1;
	exit 0;

'make' looks at the return value perl outputs, as instructed via the makefile (relevant portion below):

	rm -f *.ldr
	$(LDR) -T BF532 -c headstage.ldr $<
	bfin-elf-objdump -d headstage.dxe > decompile.asm
	perl register_check.pl

if it finds assembly which accesses the 'bad' registers, make fails.