News for hackers. Stuff that matters.
Re:BrainGPT turns thoughts into text by mike_hearn on Sunday December 17, 2023 @02:33PM (#38675633)
Urgh. And it gets worse from there. The bugs list on the repo has a closed and locked bug report from someone claiming that their code is using teacher forcing!

https://github.com/duanyiqun/DeWave/issues/1

In a normal recurrent neural network, the model predicts token-at-a-time. It predicts a token, and that token is appended to the total prediction so far which is then fed back into the model to generate the next token. In other words, the network generates all the predictions itself based off its own previous outputs and the other inputs (brainwaves in this case), meaning that a bad prediction can send the entire thing off track.

In teacher forcing that isn't the case. All the tokens up to the point where it's predicting are taken from the correct inputs. That means the model is never exposed to its own previous errors. But of course in a real system you don't have access to the correct inputs, so this is not feasible to do in reality.

The other repo says:

"We have written a corrected version to use model.generate to evaluate the model, the result is not so good"

but they don't give examples.

This problem completely invalidates the paper's results. It is awful that they have effectively hidden and locked the thread in which the issue was reported. It's also kind of nonsensical that people doing such advanced ML work are claiming they accidentally didn't know the difference between model.forward() and model.generate(). I mean I'm not an ML researcher and might have mangled the description of teacher forcing, but even I know these aren't the same thing at all.

Re:BrainGPT turns thoughts into text by chpatrick on Sunday December 17, 2023 @04:50PM (#38676803)
So instead of generating the next token from its own previous predictions (which is what it would do in real life), the code they used for the evaluation actually predicts from the ground truth?
Re:BrainGPT turns thoughts into text by ghayes on Sunday December 17, 2023 @05:49PM (#38677212)
Which would basically turn the model into a plainly normal LLM without any need for utilizing the brainwave inputs, right?
Re:BrainGPT turns thoughts into text by AndrewKemendo on Sunday December 17, 2023 @05:52PM (#38677243)
This is a super important point and I think warrants a letter to the editor
Re:BrainGPT turns thoughts into text by iamleppert on Sunday December 17, 2023 @06:20PM (#38677440)
You’d be shocked how common this is in academia. Most of the time it goes undetected because the people writing the checks can’t be bothered to understand.
Re:BrainGPT turns thoughts into text by oeeker on Sunday December 17, 2023 @08:08PM (#38678125)
how could such thing get published?
Re:BrainGPT turns thoughts into text by heyoni on Sunday December 17, 2023 @11:23PM (#38679222)
My guess is repeatability is hard when it comes to AI