Google uses Federated Learning to ensure your privacy while being able to use machine learning to e.g. improve suggestions.<p>1. Federated learning paper as relates to keyboard [PDF]: <a href="https://arxiv.org/pdf/1812.02903.pdf" rel="nofollow">https://arxiv.org/pdf/1812.02903.pdf</a><p>2. Federated learning comic: <a href="https://federated.withgoogle.com/" rel="nofollow">https://federated.withgoogle.com/</a> (I'm personally not a machine learning expert and I found this pretty informative while being accessible.)<p>Disclaimer: I am a Google employee, my opinions are my own and I don't claim to speak for my employer.
The question is a bit foolish: "Is [insert softkeyboard application here] basically a key loger?" -- well, the softboard <i>itself</i> is the key <i>generator</i>, if you want. By definition, it has control over all input. By definition it can do anything it wants with it.<p>If you don't trust Google, don't use Google software. A LineageOS installation doesn't come with the GBoard but instead the plain Android softboard which is the same without the fancy features (i.e. lacking Google search, image search, etc.).
They've stated GBoard is local only and predictive suggestions are generated from usage history within the device itself.<p><a href="https://www.macworld.com/article/3070767/googles-gboard-doesnt-send-your-keystrokes-but-it-does-leak-chicken-and-noodles.html" rel="nofollow">https://www.macworld.com/article/3070767/googles-gboard-does...</a><p>Obviously GIF suggestion and G searches from GBoard is not private.
Anything that’s from an advertising company should be considered suspicious, just like you should consider it suspicious when an alcoholic wants to “help” guard a warehouse or truck full of booze.